<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="assessments.title"/></title>
    <meta name="heading" content="<fmt:message key='assessments.assessments'/>"/>
    <meta name="menu" content="AssessmentsMenu"/>
</head>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/assessmentsearchform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="assessmentsList" class="table" requestURI="" id="basicInfoList" export="false" pagesize="25">

    <display:column href="assessmentform?" media="html"
                    paramId="id" paramProperty="id" property="workPosition.employment.firstName" sortable="true" titleKey="employment.firstName"/>
    <display:column property="workPosition.employment.lastName" sortable="true" titleKey="employment.lastName"/>
    <display:column property="workPosition.employment.socScrNo" sortable="true" titleKey="employment.socScrNo"/>
    <display:column property="workPosition.position" sortable="true" titleKey="employment.lastName"/>
    <display:column property="assHalf" sortable="true" titleKey="assHalf"/>
    <display:column property="assYear" sortable="true" titleKey="assYear"/>
    <display:column property="isAssessed" sortable="true" titleKey="isAssessed"/>
    <display:column property="assessment" sortable="true" titleKey="assessment"/>
    <display:column property="assmark.name" sortable="true" titleKey="assmark.name"/>
    <display:column property="unassReason.name" sortable="true" titleKey="unassReason.name"/>

    <display:setProperty name="paging.banner.item_name"><fmt:message key="assessments.basicInfo"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="assessments.basicInfo"/></display:setProperty>

    
</display:table>
                   <c:if test="${workPositionForm.isEditable == true}">
          <input type="submit" class="button"  name="save" value="<fmt:message key="button.save"/>"/>
           </c:if>
<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/assessmentsearchform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("assessmentsList");
</script> 
